package com.itheima.pojo;

import java.sql.Date;

public class emp01 {
    private Integer id;
    private String ename;
    private Integer job_id;
    private Integer mgr;
    private Date joindate;
    private Double salary;
    private Double bonus;
    private Integer dept_id;

    public emp01() {
    }

    public emp01(Integer id, String ename, Integer job_id, Integer mgr, Date joindate, Double salary, Double bonus, Integer dept_id) {
        this.id = id;
        this.ename = ename;
        this.job_id = job_id;
        this.mgr = mgr;
        this.joindate = joindate;
        this.salary = salary;
        this.bonus = bonus;
        this.dept_id = dept_id;
    }

    /**
     * 获取
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     * @return ename
     */
    public String getEname() {
        return ename;
    }

    /**
     * 设置
     * @param ename
     */
    public void setEname(String ename) {
        this.ename = ename;
    }

    /**
     * 获取
     * @return job_id
     */
    public Integer getJob_id() {
        return job_id;
    }

    /**
     * 设置
     * @param job_id
     */
    public void setJob_id(Integer job_id) {
        this.job_id = job_id;
    }

    /**
     * 获取
     * @return mgr
     */
    public Integer getMgr() {
        return mgr;
    }

    /**
     * 设置
     * @param mgr
     */
    public void setMgr(Integer mgr) {
        this.mgr = mgr;
    }

    /**
     * 获取
     * @return joindate
     */
    public Date getJoindate() {
        return joindate;
    }

    /**
     * 设置
     * @param joindate
     */
    public void setJoindate(Date joindate) {
        this.joindate = joindate;
    }

    /**
     * 获取
     * @return salary
     */
    public Double getSalary() {
        return salary;
    }

    /**
     * 设置
     * @param salary
     */
    public void setSalary(Double salary) {
        this.salary = salary;
    }

    /**
     * 获取
     * @return bonus
     */
    public Double getBonus() {
        return bonus;
    }

    /**
     * 设置
     * @param bonus
     */
    public void setBonus(Double bonus) {
        this.bonus = bonus;
    }

    /**
     * 获取
     * @return dept_id
     */
    public Integer getDept_id() {
        return dept_id;
    }

    /**
     * 设置
     * @param dept_id
     */
    public void setDept_id(Integer dept_id) {
        this.dept_id = dept_id;
    }

    public String toString() {
        return "emp{id = " + id + ", ename = " + ename + ", job_id = " + job_id + ", mgr = " + mgr + ", joindate = " + joindate + ", salary = " + salary + ", bonus = " + bonus + ", dept_id = " + dept_id + "}";
    }
}
